<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="cancel()">&times;</button>
    <h3>编辑会员营销项目</h3>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">
            <form class="form-horizontal" role="form">
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">项目名称：</label>
                    <div class="col-md-4"><input type="text" id="name" name="name" class="form-control" ng-model="entity.name"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">信息类型：</label>
                    <span class="ui-select" style="width:120px;">
                        <select id="info_type" name="info_type" ng-model="entity.info_type" ng-options="opt.k as opt.t for opt in opts.infoOpts"></select>
                    </span>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">总执行条数：</label>
                    <div class="col-md-3">
                        <input type="text" id="total" name="total" class="form-control" ng-model="entity.total">
                    </div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">失败总数：</label>
                    <div class="col-md-3">
                        <input type="text" id="fail" name="fail" class="form-control" ng-model="entity.fail">
                    </div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">成功率：</label>
                    <div class="col-md-2"><input type="text" id="rate" name="rate" class="form-control" ng-model="entity.rate"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">单条短信长度：</label>
                    <div class="col-md-2"><input type="text" id="each_length" name="each_length" class="form-control" ng-model="entity.each_length"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">单条计费条数：</label>
                    <div class="col-md-2"><input type="text" id="each_fee_count" name="each_fee_count" class="form-control" ng-model="entity.each_fee_count"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">总的计费条数：</label>
                    <div class="col-md-2"><input type="text" id="fee_count" name="fee_count" class="form-control" ng-model="entity.fee_count"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">状态：</label>
                    <span class="ui-select" style="width:180px;">
                        <select id="status" name="status" ng-model="entity.status" ng-options="opt.k as opt.t for opt in opts.statusOpts"></select>
                    </span>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
            </form>
        </div>
    </div>
</div>
<div class="modal-footer">
    <span class="md-raised btn-w-xs md-primary md-button md-default-theme pull-right btn-box-margin" ng-click="submit()">
        <span class="ng-scope">提 交</span>
    </span>
    <span class="md-raised btn-w-xs md-button md-default-theme pull-right btn-box-margin" ng-click="cancel()">
        <span class="ng-scope">关 闭</span>
    </span>
</div>
